import request from '@/http/https';

// 提交表单
export function submitForm(params: any) {
  return request({
    url: '/api/Instance/CreateInstance',
    method: 'post',
    data: params
  });
}
// 获取我的待办列表
export function getMyTodoList(params: any) {
  return request({
    url: '/api/Records/ProcessRecordInsert',
    method: 'post',
    data: params
  });
}

// 获取我的待办详情
export function getMyTodoDetail(params: any) {
  return request({
    url: '/api/Records/ProcessRecordDetail',
    method: 'post',
    data: params
  });
}
